package com.hdax.dm.scheduler.rest.service;

import com.hdax.dm.api.ShcedulerSeatPriceControllerApi;
import com.hdax.dm.entity.scheduler.SchedulerSeat;
import com.hdax.dm.scheduler.service.SchedulerSeatPriceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class SchedulerPriceRestService implements ShcedulerSeatPriceControllerApi {

    @Autowired
    private SchedulerSeatPriceService priceService;

    @Override
    public SchedulerSeat price(Long scheduleId, Long x, Long y) {
        return priceService.price(scheduleId, x, y);
    }
}
